package route

import (
	adminIndexHandler "gitee.com/krio/ginc/example/internal/admin/index/handler"
)

var AdminIndexAdminEnumListPOST = Register(
	"/admin/index/enum",
	"后台-index-枚举信息",
	"POST",
	adminIndexHandler.AdminEnumList,
	[]string{
		"AdminAuth",
	},
	[]string{},
	"admin",
	LimitOption{
		Type:         "",
		Mode:         "",
		Cap:          0,
		IntervalTime: 0,
		ExpireTime:   0,
	},
)

var AdminIndexAdminIniGET = Register(
	"/admin/index/ini",
	"后台-index-导航栏",
	"GET",
	adminIndexHandler.AdminIni,
	[]string{},
	[]string{},
	"not",
	LimitOption{
		Type:         "",
		Mode:         "",
		Cap:          0,
		IntervalTime: 0,
		ExpireTime:   0,
	},
)

var AdminIndexAdminLoginPOST = Register(
	"/admin/index/login",
	"后台-index-登录",
	"POST",
	adminIndexHandler.AdminLogin,
	[]string{},
	[]string{},
	"admin",
	LimitOption{
		Type:         "RLTBLimit",
		Mode:         "LIMIT_IP_AND_PATH",
		Cap:          1,
		IntervalTime: 1000,
		ExpireTime:   5000,
	},
)

var AdminIndexAdminLogoutPOST = Register(
	"/admin/index/logout",
	"后台-index-登出",
	"POST",
	adminIndexHandler.AdminLogout,
	[]string{},
	[]string{},
	"admin",
	LimitOption{
		Type:         "",
		Mode:         "",
		Cap:          0,
		IntervalTime: 0,
		ExpireTime:   0,
	},
)

var AdminIndexAdminPageInfoPOST = Register(
	"/admin/index/page_info",
	"后台-index-页面配置信息",
	"POST",
	adminIndexHandler.AdminPageInfo,
	[]string{
		"AdminAuth",
	},
	[]string{},
	"admin",
	LimitOption{
		Type:         "",
		Mode:         "",
		Cap:          0,
		IntervalTime: 0,
		ExpireTime:   0,
	},
)
